#include "stm32f4xx.h"
#include "led.h"
#include "key.h"
#include "uart.h"
#include "beep.h"
void delay(unsigned int t)
{
	while(t--);
}

char *s = "20215545109\r\n";
void uart4_send_byte(char d)
{
	while(USART_GetFlagStatus(UART4,USART_FLAG_TC) != SET);
	USART_SendData(UART4,d);
}
void uart4_send_str(char* s)
{
	while(*s != '\0')
	{
		uart4_send_byte(*s);
		s++;
	}
}
int main(void)
{
	uart4_init();
	while(1)
	{
		uart4_send_str(s);
		delay(0x3ffffff);
	}
	return 0;
}

